//
// Created by 28365 on 2025/3/5.
//

#ifndef ODUPDATERSDK_UPDATEERROREVENT_H
#define ODUPDATERSDK_UPDATEERROREVENT_H

#include "UpdateEvent.h"
#include <exception>

class UpdateErrorEvent : public UpdateEvent{

private:
    std::exception exception;

public:
    UpdateErrorEvent(const Res *res, int version, std::exception exception);

    [[nodiscard]] const std::exception &getException() const;
};


#endif //ODUPDATERSDK_UPDATEERROREVENT_H
